﻿<?php
	session_start();
	$room_id=$_REQUEST['room_id'];
	$uname=$_REQUEST['uname'];
	$page=$_REQUEST['page'];
	$date=$_REQUEST['date'];
	$per_page=$_REQUEST['per_page'];
	$per_page=5;
	include_once '../../Model/Room.php';
	$room= new Room();
	$rs=$room->get_list_user_room($room_id, $uname, $date, $page, $per_page, 2);
	echo $rs;
?>